package com.zhiwang.planet.di.component

import com.zhiwang.planet.di.ActivityScope
import com.zhiwang.planet.di.module.AccountModule
import com.zhiwang.planet.di.module.AutoDisposeModule
import com.zhiwang.planet.di.module.BindsModule
import com.zhiwang.planet.ui.my.WithdrawActivity
import com.zhiwang.planet.ui.my.withdraw.AliWithdrawFragment
import com.zhiwang.planet.ui.my.withdraw.WxWithdrawFragment
import dagger.Component

@ActivityScope
@Component(dependencies = [(AppComponent::class)], modules = arrayOf(AccountModule::class, BindsModule::class, AutoDisposeModule::class))
interface WithDrawComponent {

    fun inject(activity: WithdrawActivity)

    fun inject(fragment: WxWithdrawFragment)

    fun inject(fragment: AliWithdrawFragment)
}